


document.querySelector('.submit-btn').addEventListener('click', () => {
    const suggestion = document.querySelector('.suggestion-text').value.trim();
    const contact = document.querySelector('.contact-input').value.trim();

    if (suggestion === '') {
        alert('建议内容不能为空！');
        return;
    }

    alert(`提交成功！\n建议内容：${suggestion}\n联系方式：${contact || '未提供'}`);

});
